Can someone help me, I'm sure there's a simple solution to this behaviour.
When I build my winsock application I link in the winsock.lib file. When the application starts, if it cannot find a winsock.dll anywhere in the path then it bombs out with a system modal "Cannot find WINSOCK.DLL" and the application never
starts. This message occurs before my applcaition starts and reaches the point
where I call WSAStartUp to test for a valid WINSOCK.DL
If none is found I handle that error correctly, but of course I can't test this since the app
never starts.
I have tried the following to track down what's occurring
1./ I break just before the first winsock call I ever make (WSAStartUp)
2./ I try and load the DLL directly using loadlibrary to see if that fails
3./ Break at the very start of my program
None of these work if there is NO winsock.dll anywhere in the search path
I suspect some startup code has been linked into my app and it is that which is failing. I have tried several winsock.lib's. They are all 4096 bytes long and vary in date.
Has anyone seen this?
Has anyone fixed this?
Who actually controls the winsock.lib
Is there source code for it?
Hope you can help
Paul
paul@insitu.com
From news@bigblue.oit.unc.edu Mon Mar 7 18:25:43 1994
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA19351; Tue, 8 Mar 1994 00:28:07 -0500
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA26784; Tue, 8 Mar 1994 00:16:19 -0500
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: Mon, 7 Mar 1994 23:25:43 EST
From: patlee@panix.com (Patrick Lee)
Message-Id: <patlee.322.004BCF9E@panix.com>
Organization: E-mail about Stuyvesant H.S. Alumni E-mail Directory
Sender: ses
References: <2lg4e0$2pa@news.kth.se>
Subject: Re: Q: Trumpet Wsock, multiple DNS?
In article <2lg4e0$2pa@news.kth.se> niklas@heat.kth.se (Niklas Agren) writes:
>I'd like to specify two DNS nameserver. Sometimes
>one of our two is down. What is the syntax?
Just put another one in separated by space - though I have not had the
first DNS fail to test it out yet. 8-(
--
Patrick Lee <patlee@panix.com>
From news@bigblue.oit.unc.edu Tue Mar 8 04:32:12 1994
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA19380; Tue, 8 Mar 1994 00:28:21 -0500
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA19618; Tue, 8 Mar 1994 00:18:56 -0500
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)